package com.dragon.concurrent.demo.demo;

public class HexObServer extends OBServer {

    public HexObServer(Subject subject) {
        super(subject);
    }

    @Override
    public void update() {
        System.out.println("hex String:" + Integer.toHexString(subject.getState()));
    }
}
